`timescale 1ps / 1ps
module im(input [11:0]pc,
          output reg[31:0]instruction);
    
    reg [31:0] im[1023:0];
    
    initial begin
    	$readmemh("E:/36.txt",im);
    end
    
    
    always @(*) begin
        instruction = im[ pc[11:2] ];
    end
    
endmodule // IM
